package com.aircms.service;

import com.aircms.common.ServerResponse;
import com.aircms.pojo.Role;
import com.aircms.pojo.validation.BaseQueryFieldsValidation;

/**
 * @author air
 * @create 2018-07-03 下午2:33
 */
public interface IRoleService {
    ServerResponse index(BaseQueryFieldsValidation baseQueryFields,int pageNum, int pageSize);
    ServerResponse store(Role role);
    ServerResponse destroy(Integer id);
    ServerResponse update(Role role);
    ServerResponse getAllUsAbleRole();
}
